package com.hlkj.pay.dto.common;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.util.json.JsonUtils;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/11/04 16:54
 */
@Data
public class RsaConfig {
	
	/**
	 * gateway_url : https://api.hbhlpay.com
	 * private_key : MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDdmRIqYh1oWko96QmZON5pdswChdUC8bZv3VL+OcM6KsrAk7eIM8J0D3DW6IFiOc2MZgl0pEU2W0qt7HQYbvK8HclQ7Ue2rSJ8YKc2WVBchhvyP2ib/FGpsMZT8MMKKZ73wKSojJ63g3nN5Jre3n5pQlCn5f1fOgji9JfS5YuaQ1U7JKb2F7llfRJO8UhOXmB83oDh28fmlov9JzcUWQH2sOrM3cNN2ongUL1YhsdcYWvzD97921MwGGVmu38248JtyhHgDcjAmSv9dSNKVM+anJLxWCD8eC7tlZjWeiRsi2QeFfWFZOhimcex8Qo9mO2r2F14dWIfF+MPxlb0Gp0PAgMBAAECggEAMNelTlwz2SVVidHMgM4tD5fUnZW7/psiOAPTYB+BLVfzOoEUidvGt2gT2fqDUhAlgxWWbfQrITD8A9vDNwN1UwtJrSGvlc8Rc9Kl6G/FK6+Ph1R8jS0PHtTM0gGWK65C0J7QbCoabZ54AW6qyAbIXBD20Br8Prn+7W8165EWtRhLEk/KnEB6iSR7cCX854dhxyd0Z5GJtXE+EplPQ6r4CNfOWz6r1BQFeA5/lwxOWneM+1gn20YXHL1wJEIwi1CvmJQEMuLrUbWyLzOl9H/1HijX3AMxOgtQZtcuBZwxeQI92sFmdpIO8iDZC9hutzxAoWAcHjp10CPrHhc/XaCp4QKBgQD7UqOGEUTFVHvqSD2GnEpl38uObdq43DLNQcf9/42o7vFqddyqQk8abhhP4mBZzJ2QEm0e7lMZkDl3lumSCAtfvU5K/iT807QQ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/dtTMBhlZrt/NuPCbcoR4A3IwJkr/XUjSlTPmpyS8Vgg/Hgu7ZWY1nokbItkHhX1hWToYpnHsfEKPZjtq9hdeHViHxfjD8ZW9BqdDwIDAQAB
	 */
	@Schema(description ="交易API网关")
	private String gatewayUrl;
	@Schema(description ="平台交易私钥")
	private String privateKey;
	@Schema(description ="平台交易公钥")
	private String publicKey;
	
	public static void main(String[] args) {
		RsaConfig rsaConfig = new RsaConfig();
		rsaConfig.setGatewayUrl(";");
		rsaConfig.setPublicKey("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiyefWSMhvDpkVfy8yYVYNYDPkUHVkOk6bnkMhJ3N2k+K3fEQo2iefDP0rab00F9aUqwH1H9JNZ6pYVNPhOgbLDuuQ/fhlVuJxZMzHKTRVwbWyuKnJoYHFPRPxg02pV93JSy06lvLrbK7/DTySyH5e/S1qtXd6IBfS9FzlPj6kEN7HiEg1MGApB3k9AkFFKlsKz/aUJUWE/i4EuRf/McGWi0o949TZB3dJGOfW/MlwhL9EPRJhN9mXnKcSvinkdfFXh1QNOLgELCl0Zy/wJP3PHXZNgFB4QaWjrk1GeuqgZ+US9fXQ1vayMECaxECe6GMFbSySB4WhvX67GCF99QhuwIDAQAB");
		rsaConfig.setPrivateKey("MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCLJ59ZIyG8OmRV/LzJhVg1gM+RQdWQ6TpueQyEnc3aT4rd8RCjaJ58M/StpvTQX1pSrAfUf0k1nqlhU0+E6BssO65D9+GVW4nFkzMcpNFXBtbK4qcmhgcU9E/GDTalX3clLLTqW8utsrv8NPJLIfl79LWq1d3ogF9L0XOU+PqQQ3seISDUwYCkHeT0CQUUqWwrP9pQlRYT+LgS5F/8xwZaLSj3j1NkHd0kY59b8yXCEv0Q9EmE32ZecpxK+KeR18VeHVA04uAQsKXRnL/Ak/c8ddk2AUHhBpaOuTUZ66qBn5RL19dDW9rIwQJrEQJ7oYwVtL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